<%@ taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<t:wrapper title="${title}">
	<c:if test="${!empty error}">
		<p class="error">${error}
	</c:if>
	<form method="post" action="">
		<div>
			<label for=""><spring:message code="course.label.period" /></label>
			<select name="course-period" id="">
				<option value="default">
					<spring:message code="course.select_period" />
				</option>
				<c:forEach items="${periods}" var="period">
					<option value="${period.id}">${format.format(period.start)} - ${format.format(period.end)}</option>
				</c:forEach>
			</select>
			<button type="submit">
			<spring:message code="course.button.subscribe" />
		</button>
		</div>

	
		
		</form>
	


</t:wrapper>